package Exam;

import java.util.ArrayList;

/**
 * @author げっしょく
 * @date 2021/7/25
 */
public class Box<B> {
    private B b;
    public B chazhao(ArrayList<B> list, int index){
        return list.get(index);
    }

    public void setB(B b) {
        this.b = b;
    }
    public B getB(){
        return this.b;
    }
}
